<%= error_messages_for 'player' %>
<!--[form:player]-->
<p><label for="player_first_name">Имя</label><br/>
<%= text_field 'player', 'first_name'  %></p>

<p><label for="player_last_name">Фамилия</label><br/>
<%= text_field 'player', 'last_name'  %></p>

<p><label for="player_rank">Разряд</label><br/>
<%= select("player", "rank", Rank.find(:all).collect {|p| [ p.human_rank, p.id ]}, {:selected=>10})%>
</p>
<!--[eoform:player]-->

